﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WP09S03_OfficeTracking
{
    public partial class FrmEmployeeQuery : WP09S03_OfficeTracking.ParentClass.ParentForm
    {
        public FrmEmployeeQuery()
        {
            InitializeComponent();
        }

        private void employeeUControlData_OnSearchResultEvent(int numRecords)
        {
            SetMessage("Found " + numRecords + " Records.");  
        }

        private void FrmEmployeeQuery_Load(object sender, EventArgs e)
        {
            this.employeeUControlData.RefreshData();
            this.AcceptButton = this.employeeUControlData.buttonSearch;
        }
    }
}
